%TP1 - partie 1.1
clc;
close all;

%question 1
a=(0:0.2:1);
b=3*a+2;
a(1);
a(2);

%question 2
size(a);
length(a);

%question 3
a+b;
a-b;

%question 4
c=[1,2,3];
d=[c, 4,5,6];
e=d(1:2);
length(c);
length(d);
length(e);

%question 5
sum(a);
prod(a);
mean(a);

%question 6
a'*b;
a*b';
a.*b;
